<!DOCTYPE html>
<html th:fragment="layout (title, content)" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title th:replace="${title}">模板标题</title>
    <link rel="stylesheet" href="/css/common.css">
    <link rel="icon" href="/images/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
    <div th:replace="layouts/header"></div>

    <div th:replace="${content}">
        内容
    </div>

    <div th:replace="layouts/footer">
        页脚
    </div>
</body>
</html>
